<!DOCTYPE html>
<!-- saved from url=(0042)http://testujem.eu/servo/circle-image.html -->
<html>
<head>
    <style type="text/css">
        .image {
            border:15px solid red;
            padding:28px;
            width:230px;
            height:230px;
            box-sizing:border-box;
            -moz-box-sizing:border-box;
            float:left;
            margin-right:8%
        }
        .image .img {
            background-size:cover;
            background-position:center center;
            width:144px;
            height:144px;
        }
    </style>
</head>
<body>
    <div class="image">
        <div class="img" style="background-image: url(test.jpeg);"></div>
    </div>
</body>
</html>
